package com.yzd.learnjava.io;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;

import com.yzd.learnjava.util.Print;

public class ThawAlien {
	public static void main(String[] args) throws IOException, IOException, ClassNotFoundException {
		ObjectInputStream in = new ObjectInputStream(new FileInputStream("X.file"));
		
		Object myStery = in.readObject();
		Print.print(myStery.getClass());
	}
}
